package com.csweimei.rentmanagementtreasure.weight.selAddress;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class CityBean extends BaseBean{
    @SerializedName("data")
    private List<DataDTO> data;

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO {
        @SerializedName("id")
        private int id;
        @SerializedName("province")
        private String province;
        @SerializedName("lv")
        private int lv;
        @SerializedName("list")
        private List<CityListDTO> list;

        public String getId() {
            return id+"";
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public int getLv() {
            return lv;
        }

        public void setLv(int lv) {
            this.lv = lv;
        }

        public List<CityListDTO> getList() {
            return list;
        }

        public void setList(List<CityListDTO> list) {
            this.list = list;
        }

        public static class CityListDTO {
            @SerializedName("id")
            private int id;
            @SerializedName("lv")
            private int lv;
            @SerializedName("parentid")
            private int parentid;
            @SerializedName("city")
            private String city;
            @SerializedName("list")
            private List<AreaListDTO> list;

            public String getId() {
                return id+"";
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getLv() {
                return lv;
            }

            public void setLv(int lv) {
                this.lv = lv;
            }

            public int getParentid() {
                return parentid;
            }

            public void setParentid(int parentid) {
                this.parentid = parentid;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public List<AreaListDTO> getList() {
                return list;
            }

            public void setList(List<AreaListDTO> list) {
                this.list = list;
            }

            public static class AreaListDTO {
                @SerializedName("id")
                private int id;
                @SerializedName("lv")
                private int lv;
                @SerializedName("parentid")
                private int parentid;
                @SerializedName("region")
                private String region;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getLv() {
                    return lv;
                }

                public void setLv(int lv) {
                    this.lv = lv;
                }

                public int getParentid() {
                    return parentid;
                }

                public void setParentid(int parentid) {
                    this.parentid = parentid;
                }

                public String getRegion() {
                    return region;
                }

                public void setRegion(String region) {
                    this.region = region;
                }
            }
        }
    }
}
